package com.xuan.webfinally.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地表裂缝监测表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_surface_crack_monitor")
@ApiModel(value="SlopeSurfaceCrackMonitor对象", description="地表裂缝监测表")
public class SlopeSurfaceCrackMonitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "边坡名称")
    @TableField("slope_code")
    private String slopeCode;

    @ApiModelProperty(value = "裂缝编号")
    @TableField("crack_code")
    private String crackCode;

    @ApiModelProperty(value = "裂缝长度(mm)")
    @TableField("crack_length")
    private BigDecimal crackLength;

    @ApiModelProperty(value = "长度变化量(mm)")
    @TableField("length_change")
    private BigDecimal lengthChange;

    @ApiModelProperty(value = "裂缝宽度(mm)")
    @TableField("crack_width")
    private BigDecimal crackWidth;

    @ApiModelProperty(value = "宽度变化量(mm)")
    @TableField("width_change")
    private BigDecimal widthChange;

    @ApiModelProperty(value = "时间")
    @TableField("crack_time")
    private LocalDateTime crackTime;

    @ApiModelProperty(value = "图像链接")
    @TableField("image_url")
    private String imageUrl;

    @ApiModelProperty(value = "部门ID")
    @TableField("dept_id")
    private Integer deptId;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    @TableField("del_flag")
    private String delFlag;


}
